• Check out world news on HeadLinesList.com
  • Forum registration is now open for public.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use Applescript result input?
#1
Im new to Applescript.
I have a Numbers spreadsheet of URLs I need to gather data from.

I can tell applescript to get the value of a cell (which returns the url in the result box at the bottom).
But how do I set that result as the URL of a safari document?
solution -
tell numbers = copy value of cell "A1" to myvar
tell safari = set url to myvar
Reply

Ads

#2
Am wondering if you can use the clipboard via code that does:

set the clipboard to theData -- puts data in ‘theData’ onto the Clipboard

set theData to the clipboard -- transfers data from Clipboard to ‘theData’

... see more at "Copying Data Between Applications" at http://whitefiles.org/b1_s/1_free_guides/fg3mo/pgs/v04.htm
Reply

Ads

  


Forum Jump:


Browsing: 1 Guest(s)