Calling a variable from multiple scripts
Calling a variable from multiple scripts
- Subject: Calling a variable from multiple scripts
- From: Nishanth <email@hidden>
- Date: Tue, 19 Feb 2008 18:40:50 +0530
Consider I have 2 applescripts - script A and script B.
Script A will contain applescript line -
set btnSave to a reference to button "Save" of window "myapp" -- Just referring a 'Save' button to click it later
Script B will refer this btnSave of Script A like this (I will call the script A at the start of script B)-
click btnSave -- Click on 'Save' button
Problem : On running the Script, it says variable 'btnSave' not declared .
Can anyone let me know how to call a variable from another script, without declaring the variable in the present script ?
Thanks, Nishanth
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden